package com.ruoyi.proSystem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 其他设置对象 pro_other_config
 *
 * @author ruoyi
 * @date 2024-07-28
 */
public class ProOtherConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 商品关键字 */
    @Excel(name = "商品关键字")
    private String commodityKeyword;

    /** 商品简介 */
    @Excel(name = "商品简介")
    private String productProfile;

    /** 商品口令 */
    @Excel(name = "商品口令")
    private String commodityPassword;

    /** 商品推荐图 */
    @Excel(name = "商品推荐图")
    private String img;

    /** 是否自定义表单 */
    @Excel(name = "是否自定义表单")
    private Long hasOherForm;

    /** 自定义表单内容 */
    @Excel(name = "自定义表单内容")
    private String otherFormItem;

    /** 商品id */
    @Excel(name = "商品id")
    private Long pid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCommodityKeyword(String commodityKeyword)
    {
        this.commodityKeyword = commodityKeyword;
    }

    public String getCommodityKeyword()
    {
        return commodityKeyword;
    }
    public void setProductProfile(String productProfile)
    {
        this.productProfile = productProfile;
    }

    public String getProductProfile()
    {
        return productProfile;
    }
    public void setCommodityPassword(String commodityPassword)
    {
        this.commodityPassword = commodityPassword;
    }

    public String getCommodityPassword()
    {
        return commodityPassword;
    }
    public void setImg(String img)
    {
        this.img = img;
    }

    public String getImg()
    {
        return img;
    }
    public void setHasOherForm(Long hasOherForm)
    {
        this.hasOherForm = hasOherForm;
    }

    public Long getHasOherForm()
    {
        return hasOherForm;
    }
    public void setOtherFormItem(String otherFormItem)
    {
        this.otherFormItem = otherFormItem;
    }

    public String getOtherFormItem()
    {
        return otherFormItem;
    }
    public void setPid(Long pid)
    {
        this.pid = pid;
    }

    public Long getPid()
    {
        return pid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commodityKeyword", getCommodityKeyword())
            .append("productProfile", getProductProfile())
            .append("commodityPassword", getCommodityPassword())
            .append("img", getImg())
            .append("hasOherForm", getHasOherForm())
            .append("otherFormItem", getOtherFormItem())
            .append("pid", getPid())
            .toString();
    }
}
